package cn.ibizlab.odoo.core.odoo_asset.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_asset.domain.Asset_state;
import cn.ibizlab.odoo.core.odoo_asset.filter.Asset_stateSearchContext;

/**
 * 实体[Asset_state] 服务对象接口
 */

public interface IAsset_stateService{
     boolean create(Asset_state asset_state) ;
     void updateBatch(List<Asset_state> asset_states, int batchSize) ;
     boolean remove(Integer id) ;
     void createBatch(List<Asset_state> asset_states, int batchSize) ;
     Asset_state get(Integer id) ;
     Asset_state get(Asset_state asset_state) ;
     boolean update(Asset_state asset_state) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Asset_state> searchDefault(Asset_stateSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Asset_state> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Asset_state> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Asset_state convert2Domain(cn.ibizlab.odoo.core.client.model.Iasset_state model ,Asset_state domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iasset_state convert2Model(Asset_state domain , cn.ibizlab.odoo.core.client.model.Iasset_state model);

}
